package com.core.androidlearndemo.dragger2;

import android.content.Context;
import android.widget.Toast;

import javax.inject.Inject;

public class TestPresenter {

    ICommonView iCommonView;

    @Inject
    public TestPresenter(ICommonView iCommonView){
        this.iCommonView = iCommonView;
    }

    public void login(UserBean userBean){
        Context context = iCommonView.getContext();
        Toast.makeText(context,"login........",Toast.LENGTH_SHORT).show();
    }
}
